html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-image: url(../images/bgimg.jpg);
}

#logo {
    margin: 20px 240px;
}

/* 登陆盒子和注册盒子 */
.box {
    height: 310px;
    width: 400px;
    background-color: #00000090;;
    position: absolute;
    border-radius: 5%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.title{
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 26px;
    color: azure;
}

.register{
    display: none;
}

/* 表单 */

form{
    margin: 0 30px;
}

form a{
    float: right;
    color: rgba(245, 245, 245, 0.904);
}

form a:hover{
    color: rgba(221, 221, 221, 0.795);
}

form .layui-input{
    border-color: #00000090;
    border: 0;
    border-radius: 100px;
    border-bottom: 1px solid whitesmoke;
    padding-left: 30px;
    background-color: #00000000;
    color: white;
}

/* 字体图标 */
.layui-form-item {
    position: relative;
}

.layui-icon{
    position: absolute;
    color: whitesmoke;
    left: 10px;
    top: 10px;
}

.login form .layui-btn{
    margin-top: 20px;
    background-image: linear-gradient(to right, #b8cbb8 0%, #b8cbb8 0%, #b465da 0%, #cf6cc9 33%, #ee609c 66%, #ee609c 100%);	/* 按钮颜色 */
}

.register form .layui-btn{
    background-image: linear-gradient(to right, #b8cbb8 0%, #b8cbb8 0%, #b465da 0%, #cf6cc9 33%, #ee609c 66%, #ee609c 100%);	/* 按钮颜色 */
}

